#include "DummyMatcher.h"

using namespace std;

DummyMatcher::DummyMatcher()
{
	name = "DummyMatcher";
	printf("new DummyMatcher\n");
	mode = 0;
}

DummyMatcher::~DummyMatcher()
{
	printf("delete DummyMatcher\n");
}

void DummyMatcher::update(){}

Transformation * DummyMatcher::getTransformation(RGBDFrame * src, RGBDFrame * dst)
{
	if(mode == 0){
		Transformation * transformation = new Transformation();
		transformation->src = src;
		transformation->dst = dst;
		transformation->transformationMatrix = Eigen::Matrix4f::Identity();
		transformation->weight = 1000;
		return transformation;
	}
	return NULL;
}
